package com.yanfan.energy.mapper;

import com.yanfan.energy.domain.OverallEnergys;
import com.yanfan.energy.domain.statist.DateStatistics;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author kygo
 */
@Repository
public interface OverallEnergyMapper {

    /**
     * 新增能源数据表
     *
     * @param overallEnergys
     * @return int
     * @author caijinkang
     * @date 2023/8/21 10:49
     */
    public int insert(OverallEnergys overallEnergys);

    /**
     * 新增能源数据表（天表）
     *
     * @param overallEnergys
     * @return int
     * @author caijinkang
     * @date 2023/8/22 9:58
     */
    public int insertDay(OverallEnergys overallEnergys);

    /**
     * 查询能源单价设置表的单价
     *
     * @return java.util.List<com.yanfan.common.statisticslist.DateStatistics>
     * @author caijinkang
     * @date 2023/8/21 17:17
     */
    public List<DateStatistics> findEnergySetting();

}
